<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="cn.firstsoft.firstframe.admin.*"%>

<%
  String provider = request.getParameter("provider")==null?"":request.getParameter("provider");
  
  
  if("1".equals(provider)){
     DataSourceBean dsb = new DataSourceBean();
     dsb.saveToBbs();
     PropertyFile.writeProperties("firstframe.properties","constant.forum_type","1");
  } else {
     PropertyFile.writeProperties("firstframe.properties","constant.forum_type","0");
  }
  response.sendRedirect("forum.jsp");
%>